/*
 * Copyright (C) 2013 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@import "base/environment";

.users-container {
  max-height: 500px;
  overflow-y: scroll;
}

#adminToolsTabPanes {
  .search-controls {
    background-color: $lightBackground;
  }
  .roster tr.selected td {
    background-color: $ic-bg-light-primary;
  }
}

#commMessagesSearchResults {
  .collectionViewItems {
    margin-left: 0;
    list-style-type: none;
  }
  .message { margin-bottom: 1.5em; }
  .message-body {
    margin: 0 1em 1em;
    overflow-y: auto;
    max-height: 400px;
  }

  /*-- workflow state labels --*/
  .label {
    background-color: #999;
    border-radius: 3px;
    color: white;
    @include fontSize(12px);
    font-weight: bold;
    line-height: 14px;
    padding: 1px 4px 2px;
    text-shadow: 0 -1px 0 rgba(black, .25);
    vertical-align: baseline;
    white-space: nowrap;
    float: right;

    &.label-sent, &.label-dashboard {
      background-color: $successText;
    }

    &.label-created, &.label-staged, &.label-sending {
      background-color: #3A87AD;
    }

    &.label-cancelled, &.label-bounced {
      background-color: #B94A48;
    }

    &.label-closed {
      background-color: #333;
    }
  }
}

.message-meta-data {
  margin-left: 1em;
  td {
    text-align: left;
    padding-right: 0.75em;

    &.meta-data-label {
      font-weight: bold;
    }
  }
}

.admin-tool-well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: $ic-color-light;
  border: 1px solid $ic-border-light;
  border-radius: $ic-border-radius;
}

